package com.example.api.mapper;

import com.example.api.pojo.Customer;
import com.example.api.vo.CustomerVO;
import com.example.api.vo.UserVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface CustomerMapper {
    CustomerVO login(@Param("phone") String phone, @Param("password") String password);

    void add(Customer customer);

    Customer findCustomerByTd(Long customerId);
}
